package com.hzlh.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hzlh.domain.po.SysParamConfigPo;
import com.hzlh.mapper.SystemParamConfigMapper;

@Service
public class SystemParamConfigService {

	@Autowired
	private SystemParamConfigMapper systemParamConfigMapper;
	
	public String getKeyValue(String key){
		return systemParamConfigMapper.getKeyValue(key);
	}
	
	public SysParamConfigPo getSysParamConfigByKey(String key){
		return systemParamConfigMapper.getSysParamConfigByKey(key);
	}

	public boolean updateKeyOnOff(SysParamConfigPo configPo) {
		return systemParamConfigMapper.updateKeyOnOff(configPo);
	}
}